package com.jprocms.module.cms.api;

import com.jpro.framework.common.pojo.CommonResult;
import com.jprocms.module.cms.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(name = ApiConstants.NAME)
public interface ConfigNotifyApi {

    String PREFIX = ApiConstants.PREFIX + "/config";

    @PutMapping(value = PREFIX + "/update")
    CommonResult<Boolean> updateConfigForApi();

}
